Ext.define("AmpleHarvest.DATA.Store.gsSolr",
{
	extend			: 'Ext.data.Store',
	requires	:
		[
		 	'AmpleHarvest.DATA.Model.gsSolr'
		],
	model			: 'AmpleHarvest.DATA.Model.gsSolr',
	proxy			:
	{
		type	: 'rest',
		url		: '/solr-gs-base/app/search/',
		headers	: {
			'X-ProxiedEntitiesChain'	: obj_config.user.dn
		},
		reader	:
		{
			type			: 'json',
			totalProperty	: "totalCount",
			root			: 'collection'
		},
		startParam : 'offset'
	},

	set_ExtraParams	: function(obj_Params)
	{
		this.proxy.extraParams = obj_Params;
	}

}
);
